package org.mindrive.system.service;

public class BaseConstant {

    public final static String ID = "id";
    public final static String STATUS = "status";
    public final static String CREATED_AT = "created_at";
    public final static String CREATOR = "creator";
    public final static String UPDATOR = "updator";
    public final static String UPDATED_AT = "updated_at";
    public final static String LIST = "list";
    public final static String COUNT = "count";
    public final static String PARENT_ID = "parent_id";
    public final static String NAME = "name";
    public final static String SORT_NO = "sort_no";
    public final static String TYPE_ID = "type_id";

    public final static String TREE_IS_LEAF = "isLeaf";
    public final static String TREE_KEY = "key";
    public final static String TREE_TITLE = "title";
    public final static String TREE_CHILDREN = "children";


    // 断点续传相关
    public final static String APP_FILES = "appfiles";
    public final static String MERGE = "merge";

    public final static String USER_AVATAR = "useravatar";
    public final static String AVATAR = "avatar";

    public final static String ROLE_CODE_SYSTEM_ADMIN = "SYSTEM_ADMIN";
    public final static String ROLE_CODE_SYSTEM_USER = "SYSTEM_USER";
    public final static String ROLE_CODE_DATABASE_ADMIN = "DATABASE_ADMIN";
    public final static String ROLE_CODE_SECURITY_SECRET = "SECURITY_SECRET";
    public final static String ROLE_CODE_SECURITY_AUDIT = "SECURITY_AUDIT";

    public final static String AUDIT_EVENT_TYPE_CREATE = "添加";
    public final static String AUDIT_EVENT_TYPE_DELETE = "删除";
    public final static String AUDIT_EVENT_TYPE_MODIFY = "更新";
    public final static String AUDIT_EVENT_TYPE_SEARCH = "查询";
    public final static String AUDIT_EVENT_TYPE_IMPORT = "导入";
    public final static String AUDIT_EVENT_TYPE_EXPORT = "导出";


    public final static String ROLE_CODE_WORKSPACE_ADMIN = "WORKSPACE_ADMIN";
    public final static String ROLE_CODE_WORKSPACE_USER = "WORKSPACE_USER";


    public final static String USER_ID_SYSTEM = "admin";
    public final static String USER_ID_SECURITY = "security";
    public final static String USER_ID_AUDIT = "audit";

    public final static String PASSWORD_INIT = "123456";
    public final static String USER_STATUS_NORMAL = "1";
    public final static String USER_STATUS_REMOVED = "0";

    public final static String YES_STATUS = "1";
    public final static String NO_STATUS = "0";


    public final static String QUARTZ_JOB_STATUS_NORMAL = "已启动";
    public final static String QUARTZ_JOB_STATUS_STOP = "已暂停";


    public final static String KEY_NONE = "none";

    public final static String CODE = "code";


    public final static String TRANSMISSION_ACTION_EXPORT = "export";
    public final static String TRANSMISSION_ACTION_IMPORT = "import";

    public final static String TRANSMISSION_STATUS_PENDING = "PENDING";
    public final static String TRANSMISSION_STATUS_IN_PROGRESS = "IN_PROGRESS";
    public final static String TRANSMISSION_STATUS_DONE = "DONE";

    public final static String ANNIUGONGNENG_XINZENG = "expense:add";
    public final static String ANNIUGONGNENG_TIANBAO = "expense:write";
    public final static String ANNIUGONGNENG_ZHUGUANSHENHE = "expense:inautid";
    public final static String ANNIUGONGNENG_BIANJI = "expense:update";
    public final static String ANNIUGONGNENG_CAIWUSHENHE = "expense:outautid";
    public final static String ANNIUGONGNENG_XIAZAI = "expense:download";
    public final static String ANNIUGONGNENG_HANGSHANCHU = "expense:hangremove";
    public final static String ANNIUGONGNENG_YINHANGBAOBIAO = "expense:export";
    public final static String ANNIUGONGNENG_RICHENGADD = "expense:schadd";
    public final static String ANNIUGONGNENG_RICHENGUPDATE = "expense:schupdate";



    public final static String TRANSMISSION_TYPE_EXPERT_CATALOGUE = "expertCatalogue";

    public final static String TRANSMISSION_TYPE_EXPERT_TEMPLATE = "expertTemplate";

    public final static String DATA_SEPERATOR = ",";


}
